package xjtu.zd.server;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import xjtu.zd.server.staff.chapter.Chapter;
import xjtu.zd.server.staff.chapter.ChapterAPI;

@SpringBootApplication
@MapperScan({"xjtu.zd.server.*.*.dao"})
public class App {

    public static void main(String[] args) {

        ApplicationContext ctx = SpringApplication.run(App.class, args);

        ChapterAPI api = ctx.getBean(ChapterAPI.class);

    }

}
